<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<link rel="stylesheet" href="__app__/admin/view/VideoCategory/addVideoCategory/addVideoCategory.css?z={:mt_rand(1,1000)}" />
<link rel="stylesheet" href="__app__/admin/view/VideoCategory/addVideoCategory/webuploader.css" />
<style>
    form .table-base td select {
        width: 100px;
    }
    #uploader #video-show video{
        width: 150px;
        height: 84px;
    }
    .btns #afresh {
        margin-right: 35px;
        border-radius: 3px;
    }
    #video #picker {
        float: left;
        margin-right: 35px;
        width: 82px;
        height: 34px;
        line-height: 14px;
        border-radius: 3px;
    }
    #video #ctlBtn {
        border-radius: 3px;
    }
</style>
<body>

{include file="common/page/header"}

<div class="content container-fluid {if $leftBarScale eq '1'} scale {/if}">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}
        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont"></i>添加栏目视频</h3>
            <div class="inner-section row">
                <form action="#" method="post" id="myForm"  enctype="multipart/form-data">
                    <table class="table table-striped table-hover table-bordered table-base">
                        <tr>
                            <td><label for="title">标题</label></td>
                            <td>
                                <input type="text" class="form-control" name="title" id="title" placeholder="标题" value="">
                            </td>
                            <td></td>
                        </tr>
                        <tr>
                            <td class="td1"><label><span class="must-tag">*</span>上传视频</label></td>
                            <td class="td2">
                                <div id="uploader" class="wu-example">
                                    <!--用来存放文件信息-->
                                    <div id="thelist" class="uploader-list"></div>
                                    <div class="btns">
                                        <a id="afresh" class="btn btn-info hidden">删除视频</a>
                                        <div id="picker">选择视频</div>
                                        <div id="ctlBtn" class="btn btn-default">开始上传</div>
                                        <input type="hidden" id="video-url" name="video_url" value="">
                                    </div>
                                </div>
                            </td>
                            <td class="td3 v-notice"></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td>
                                <input type="hidden" id="root-url" value="{$Think.const.ROOT_URL}">
                                <a class="btn btn-success btn-md" id='save'>提交</a>
                                <a class="btn btn-default btn-md" href="javascript:window.history.go(-1);">返回</a>
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
{include file="common/page/jsfiles"}
<!-- 页脚 -->
{include file="common/page/footer"}

<script type="text/javascript" src="__static__/js/form/jquery.form.js"></script>
<script type="text/javascript" src="__static__/js/form/jquery.validate.js"></script>
<script type="text/javascript" src="__static__/js/form/jquery.validate.extend.js"></script>
<script type="text/javascript" src="__app__/admin/view/VideoCategory/addVideoCategory/addVideoCategory.js?z={:mt_rand(1,1000)}"></script>
<script type="text/javascript" src="__app__/admin/view/VideoCategory/addVideoCategory/webuploader.js"></script>
<script type="text/javascript" src="__app__/admin/view/VideoCategory/addVideoCategory/getting-started.js?t=888"></script>
</body>
</html>